package com.arkisv.log.service.impl;

import com.arkisv.common.model.StepLog;
import com.arkisv.log.dao.StepLogMapper;
import com.arkisv.log.service.IStepLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 步骤日志Service
 * Created by fb on 2017/2/07.
 */
@Service
public class StepLogServiceImpl implements IStepLogService {
	@Autowired
	private StepLogMapper stepLogDao;

	@Override
	public StepLog get(long stepLogId) {
		return stepLogDao.selectByPrimaryKey(stepLogId);
	}

	@Override
	public List<StepLog> list(StepLog query) {
		return stepLogDao.query(query);
	}
}
